<?php
namespace app\lib;

class Key {

    public static function getCartKey($userId = 0) : string {
        return config("redis.cart_key_pre") . $userId;
    }
    public static function getCartHashKey($userId = 0) : string {
        return config("redis.cart_hash_key_pre") . $userId;
    }

}